{extend name="template/base" /}
{block name="content"}
<div class="page-container">
    <div class="form form-horizontal">
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">头像</label>
            <div class="formControls col-xs-6 col-sm-6">
                <img src="{$vo.head}" alt="" style="width: 50px; height: 50px;">
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">用户名</label>
            <div class="formControls col-xs-6 col-sm-6">
                {$vo.name} （帐号：{$vo.nickname} ， ID：{$vo.user_id}）
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">性别</label>
            <div class="formControls col-xs-6 col-sm-6">
                {if condition="($vo.sex == 0)"} 未知
                {elseif condition="$vo.sex == 1"/}男
                {else /} 女
                {/if}
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">手机号</label>
            <div class="formControls col-xs-6 col-sm-6">
                {$vo.phone}
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <strong class="form-label col-xs-3 col-sm-3">行车证信息</strong>
            {if condition="($count != 0)"}
            <table class="table table-border table-bordered table-hover table-bg mt-20">
                <thead>
                <tr class="text-c">
                    <th width="40">姓名</th>
                    <th width="80">手机号</th>
                    <th width="80">车名称</th>
                    <th width="50">车牌号</th>
                    <th width="40">发动机号</th>
                    <th width="40">车架号</th>
                    <th width="40">汽车类型</th>
                    <th width="40">车主</th>
                    <th width="100">住址</th>
                    <th width="30">使用性质</th>
                    <th width="30">状态</th>
                </tr>
                </thead>
                <tbody>
                {volist name="list" id="li"}
                <tr class="text-c">
                    <td>{$li.name|high_light=$Request.param.name}</td>
                    <td>{$li.phone|high_light=$Request.param.phone}</td>
                    <td>{$li.car_set|high_light=$Request.param.car_set}{$li.car_model|high_light=$Request.param.car_model}</td>
                    <td>{$li.car_code|high_light=$Request.param.car_code}</td>
                    <td>{$li.engine_code|high_light=$Request.param.engine_code}</td>
                    <td>{$li.class_code|high_light=$Request.param.class_code}</td>
                    <td>{$li.car_type|high_light=$Request.param.car_type}</td>
                    <td>{$li.car_owner|high_light=$Request.param.car_owner}</td>
                    <td>{$li.address|high_light=$Request.param.address}</td>
                    <td>{$li.use_type|high_light=$Request.param.use_type}</td>
                    <td>{if condition="($li.status == 0)"} 审核中
                        {elseif condition="$li.status == 1"/}通过
                        {else /} 拒绝
                        {/if}</td>
                </tr>
                {/volist}
                </tbody>
            </table>
            {else /}
            <div class="formControls col-xs-6 col-sm-6">
               暂无数据
            </div>
            {/if}
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <strong class="form-label col-xs-3 col-sm-3" style="left: 0px;">驾驶证信息</strong>
            {if condition="($vo.name != null)"}
            <table class="table table-border table-bordered table-hover table-bg mt-20">
                <thead>
                <tr class="text-c">
                    <th width="40">姓名</th>
                    <th width="80">性别</th>
                    <th width="80">国籍</th>
                    <th width="50">住址</th>
                    <th width="40">出生日期</th>
                    <th width="40">有限期限</th>
                    <th width="40">准驾车型</th>
                </tr>
                </thead>
                <tbody>
                <tr class="text-c">
                    <td>{$vo.name|high_light=$Request.param.name}</td>
                    <td>{if condition="($vo.gender == 1)"} 男
                        {else /} 女
                        {/if}</td>
                    <td>{$vo.nation|high_light=$Request.param.nation}</td>
                    <td>{$vo.address|high_light=$Request.param.address}</td>
                    <td>{$vo.birthday|high_light=$Request.param.birthday}</td>
                    <td>{$vo.start_time|high_light=$Request.param.start_time}-{$vo.end_time|high_light=$Request.param.end_time}</td>
                    <td>{$vo.type|high_light=$Request.param.type}</td>
                </tbody>
            </table>
            {else /}
            <div class="formControls col-xs-6 col-sm-6">
                暂无数据
            </div>
            {/if}
            <div class="col-xs-3 col-sm-3"></div>
        </div>
    </div>
</div>
{/block}